package com.ddllh.irontomato;

public class Task{
	
	public int mColumeNumber = 8;
	public String[] mColumeValue = new String[mColumeNumber];
	// ID, Internal_Interrupt_Times, External_Interrupt_Times, 
	// Description, Pomodoro_Estimated, Pomodoro_Used, 
	// Is_Finished, Is_To_Do_Today
		
	public Task(String[] columeValue) {
		mColumeValue = columeValue;
	}
	
	// Get ttem value for sql language
	public String getItemValue() {
		String itemValue = mColumeValue[0];
		for (int i = 1; i < mColumeValue.length; i++) {
			itemValue += ", " + mColumeValue[i];
		}
		return itemValue;
	}
}
